package com.fuchuang.seckillsystem.exception;


import com.fuchuang.seckillsystem.vo.RespBeanEnum;

/**
 * 全局异常
 */
public class GlobalException extends RuntimeException{
    private RespBeanEnum respBeanEnum;

    public GlobalException(RespBeanEnum respBeanEnum) {
        this.respBeanEnum = respBeanEnum;
    }

    public RespBeanEnum getRespBeanEnum() {
        return respBeanEnum;
    }

    public void setRespBeanEnum(RespBeanEnum respBeanEnum) {
        this.respBeanEnum = respBeanEnum;
    }
    
}
